package engine

import (
	"engine/internal"
	"google.golang.org/protobuf/proto"
)

type NetActor = internal.NetActor

type NetMsgTransformHandler interface {
	NetMsgToRpcMsg(NetActor, []byte) (string, []byte, error)
	RpcMsgToNetMsg(NetActor, string, []byte) []byte
	ResponseError(err error) proto.Message
}
